<!DOCTYPE html>
<title>An SVGImageElement not in the document loads the associated resource</title>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script>
async_test(function(t) {
  let image = document.createElementNS('http://www.w3.org/2000/svg', 'image');
  image.onload = t.step_func_done();
  image.onerror = t.unreached_func();
  image.setAttribute('href', '../../images/resources/blue-100.png');
});
</script>
